!
" # $% #
!"
#$%& % '()
*
++ ,%-.
&* &, *.
/. .0 "%% 1 2
,314/5/.6 7$
7 89"
+4,+ "
+4*+ +9"
#$3 -3
*/.:'; !
+,,:+,,5""6 .
+*+:+*+5""6 '<.
,+ &'# (
,
'-#! .#'+/!'! =" ( ;/%( 9" # " # "0 ( ( ( - + + + -3 1+ + 4,+ > ( #" + 4*+ / 0## '
*?. =" "0 ( 5;6 ( 5;/%6 @. ( ( ( ( ( A,+ ( ( A,+ - ', ,+ -3 ,, > ( '1 ( = ( +1( ( 4+ +( ( ; + ( 5;6 5;/%6 = ( (A,+ = +' ") ") *=$ "0 ' , * 1 7 8 + ' ;% +( ,+( +( @&; @&; @&; @&; @&; @&; @&; @&; @&; @&; @&; ( (
( # #&< ? + ' , * 1 / / B %$;/546 %$;/56 & 0+ 0 0 0 0' 0, 0* 01 *=#!/. )//.5' A&,'B,,'CA+B47, 6 Mode Write Mode (Refer to Fig-6) Read Mode (Refer to Fig-7) Item E Cycle Time E Rise / Fall Time E Pulse Width (High, Low) R/W and RS Setup Time R/W and RS Hold Time Data Setup Time Data Hold Time E Cycle Time E Rise / Fall Time E Pulse Width (High, Low) R/W and RS Setup Time R/W and RS Hold Time Data Output Delay Time Data Hold Time Symbol tc tr,tf tw tsu1 th1 tsu2 th2 tc tr,tf tw tsu th tD tDH Min 500 220 40 10 60 10 500 220 40 10 20 Typ Max 25 25 120 ns ns Unit RS VIH1 VIL1 tSU1 th1 R/W VIL1 VIL1 tw th1 tf VIL1 tSU2 E tr VIH1 VIL1 VIH1 th2 VIL1 DB0~DB7 VIH1 VIL1 Valid Data tc VIH1 VIL1 Fig-6. Write Mode Timing Diagram RS VIH1 VIL1 tSU VIH1 tw th tf th VIH1 R/W E tr VIH1 VIL1 tD VIH1 VIL1 tDH Valid Data tc VIL1 DB0~DB7 VIH1 VIL1 VIH1 VIL1 Fig-7. Read Mode Timing Diagram *&=/ Instruction Table Instruction Code Execution Time Instruction Description (fosc = RS R/WDB7DB6DB5DB4DB3DB2DB1DB0 270 kHz) Clear Write "20H" to DDRAM and set 0000000001 1.53 ms Display DDRAM address to "00H" from AC. Return Set DDRAM address to "00H" from AC Home 0 0 0 0 0 0 0 0 1 x and return cursor to its original position 1.53 ms if shifted. Entry Mode Assign cursor moving direction and 0 0 0 0 0 0 0 1 I/D SH 39 s enable the shift of entire display . Set Display ON/ Set display (D), cursor (C), and blinking 0000001DCB 39 s OFF Control of cursor (B) on/off control bit. Cursor or Set cursor moving and display shift Display Shift 0 0 0 0 0 1 S/C R/L x x control bit, and the direction, without 39 s changing of DDRAM data. Function Set interface data length (DL : 4-bit/8 Set 0 0 0 0 1 DL N F x x bit), numbers of display line (N : 1-line/ 39 s 2-line, Display font type (F:0 ...) Set CGRAM Set CGRAM address in address 0 0 0 1 AC5AC4AC3AC2AC1AC0 39 s Address counter. Set DDRAM Set DDRAM address in address 0 0 1 AC6AC5AC4AC3AC2AC1AC0 39 s Address counter. Whether during internal operation or Read Busy not can be known by reading BF. flag and 0 s 0 1 BF AC6AC5AC4AC3AC2AC1AC0 The contents of address counter can Address also be read. Write Data Write data into internal RAM 1 0 D7 D6 D5 D4 D3 D2 D1 D0 43 s to RAM (DDRAM/CGRAM). Read Data Read data from internal RAM 1 1 D7 D6 D5 D4 D3 D2 D1 D0 43 s from RAM (DDRAM/CGRAM). * NOTE : When you make an MPU program with checking the Busy Flag (DB7), it must be necessary 1/2Fosc for executing the next instruction by falling E signal after the Busy Flag (DB7) goes to "0". *,/.#9-5E++1+++6 1#
19/. A, =" "0 / - -3 > A+ , + + + '+ ,+ " ,+ () /2 A+ /# $$ / A+ A+ # " A+ A+ 1$$9/. 1$$() " " 1$$/#
-/
6)"0"
,
F 62"$G
7''@! 1$$#" "
A 4 $$"
A 4 -/
69(
'1( 62"$G
7''@! 2## 7/$#0 A, =" /$ @." ? ... *+ "$" 8*@ ;" ? . + "$" 8*@ ? . @." 5% 6 ,+ 9 ..". 8*@ "$" ? . ;" + ' 9 8*@ "$" ? ... '+ @." , "..." 8+H#@ &@" $" 8*@ ? . .." " + &*+ + , *+ , * / +" ," +" ," + 1 7 8 (0 56 . 56 )". ? . %0 ? .. ? . ". 0 +@!C,+@!D ,+"&D '+" @$%D ++"&D " '+ *@ 72I"/ / =" $ ? $ -. $ 9 /. #" =" ' , * 1 7 8 2I"/ 9$.0$ 9$. $ 9$.". $ 9$.$ 2"$7 $ A 9 $ 4 -. $ 345*67** ?3" )A, 5.6 = - -3 > =; )J; -K + == - , -K + == - ,
-K$
9"""D.D"D; -$
9. "$"B77 > " " ?3 . D . )3) ( 0 = ;/," > " " . D )3 $ $8' 5*
+'# +@ + . " $ 0K ". .0 $"..D +=$. ".G 0 D0 ".D$.0" . .D" .$$ + 3%$. $.K ." .% +'.!%. $$.;/"$ .@.!$ +,=$. $"D0..$ .$ .=$" D". .$.$%
= . ?. . % . . . " 0% " " . ! ? D.$
< E )"% +*""0.;/- +1=$.$$D . +7%$."0
D0$ """%" .0 ...;/- 0G$"0 D.D"0 . " $ D "0 . .;/-.$". $ .$$.%$" " 0 + +<..;/"D%3. ..$$" +.;/".0." =$ . ;/ " 0 $ "D . ""
"
+ '+ #% ."
7+H +.;/".0.".D ."$ + . ;/ " . 0 $ % . D . % 3% D D " . / ="$$ =" ; #0 ! / / " )."" " L+"" -3$ +"" +,"" )."" -3 :L+"" :A5406& -3 L++"" " ++"" ++,"" 0 +"" +"" : +,"" -3 56 5% 6 5% 6 % /- ="$ $ =" / / " " " )."" )."" :L+"" :A5406& )L+"" -3 +"" ) +"" L+,"" -3 56 -3 +"" : +"" -3 9""" . <% /% / . " 596 5% 6 -3 :L+"" :A5406& +"" : +"" 5% 6 -3 L++"" ++"" ++,"" 0 +,"" /- =" $ " $" ="$ $56 / / 3 +"" -3$ +"" 3 +"" -3 $ 3A5406& +"" -3$ +"" +"" M+ -3$ +7< < A"%$. |